<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'eova-icon724',plain:true" onclick="singleAddshow()">新增</a>
<script type="text/javascript">
    var singleAddshow = function () {
    	var $grid = $('#grid');
    	 
    	var rows = $grid.datagrid('getSelections');
    	var num = rows.length;
    	if (num != "1") {
    		$.slideMsg("请选择一条记录！");
            return;
    	}
        loadDialog($grid, '新增${object.name}', '/jlforder/getSiteScope?'+rows[0]['id']);
    };
</script>